package com.medic.entity.group.pain;

public class Pain {
	private int painId;
	/**
	 * 所属任务id（如果是滴定任务，则会有多个疼痛反馈，所以不能用unique索引）
	 */
	private long tsId;
	/**
	 * 疼痛位置（由于图中已经分区域，所以这里是指第几个区域）
	 */
	private String painPos;
	/**
	 * 疼痛性质（表中放id）
	 */
	private PainNature pn;
	/**
	 * 疼痛等级（0到10的数字）
	 */
	private int painLevel;
	/**
	 * 每天疼痛发作次数（0 小于三次，1大于三次）
	 */
	private int painNum;
	/**
	 * 每次疼痛持续时间（0 小于半小时 1大于半小时 2持续疼痛）
	 */
	private int painTime;
	/**
	 * 疼痛时的感受（0烦躁 1焦虑 2恐惧 3抑郁和失望）
	 */
	private int painFeel;

	public int getPainId() {
		return painId;
	}

	public void setPainId(int painId) {
		this.painId = painId;
	}

	public long getTsId() {
		return tsId;
	}

	public void setTsId(long tsId) {
		this.tsId = tsId;
	}

	public String getPainPos() {
		return painPos;
	}

	public void setPainPos(String painPos) {
		this.painPos = painPos;
	}

	public PainNature getPn() {
		return pn;
	}

	public void setPn(PainNature pn) {
		this.pn = pn;
	}

	public int getPainLevel() {
		return painLevel;
	}

	public void setPainLevel(int painLevel) {
		this.painLevel = painLevel;
	}

	public int getPainNum() {
		return painNum;
	}

	public void setPainNum(int painNum) {
		this.painNum = painNum;
	}

	public int getPainTime() {
		return painTime;
	}

	public void setPainTime(int painTime) {
		this.painTime = painTime;
	}

	public int getPainFeel() {
		return painFeel;
	}

	public void setPainFeel(int painFeel) {
		this.painFeel = painFeel;
	}

	@Override
	public String toString() {
		return "Pain [painId=" + painId + ", tsId=" + tsId + ", painPos=" + painPos + ", pn=" + pn + ", painLevel="
				+ painLevel + ", painNum=" + painNum + ", painTime=" + painTime + ", painFeel=" + painFeel + "]";
	}
	
}
